package com.jy.web.diy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jy.framework.base.BaseEntity;
import cn.afterturn.easypoi.excel.annotation.Excel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

import lombok.Getter;
import lombok.Setter;

/**
 * 字段值表
 *
 * @author JuiceYan
 * @email JuiceYan@jy.com
 * @date 2018-12-22 20:55:27
 */
@ApiModel(value = "字段值表")
@TableName("diy_json")
@Getter
@Setter
public class JsonEntity extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 数据id
     */
    @TableId(type = IdType.UUID)
    @ApiModelProperty(value = "数据id")
    @Excel(name = "数据id")
    private String id;
    /**
     * 分类id
     */
    @ApiModelProperty(value = "分类id")
    @Excel(name = "分类id")
    private Long categoryId;
    /**
     * 扩展的json值
     */
    @ApiModelProperty(value = "扩展的json值")
    @Excel(name = "扩展的json值")
    private String jsonValue;
    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    @Excel(name = "更新时间")
    private Date updateDate;
}
